#!/usr/bin/env node

const pi=Math.PI;

module.exports = (radius)=>{
  function diameter(){
          return 2*radius;
            
  }
  function area(){
          return pi*radius*radius;
            
  }
  function circumference(){
          return 2*pi*radius;
            
  }
  return{
          area,
                 diameter,
                      circumference
                           
  };

};


console.log(module);

